package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商铺管理对象 shop
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class Shop
{
    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @TableField(select = false)
    private String searchValue;

    /** 商铺id */
    @TableId
    private Long shopId;

    /** 商铺名称 */
    @Excel(name = "商铺名称")
    private String shopName;

    /** 楼栋id */
    @Excel(name = "楼栋id")
    private Long budId;

    @TableLogic(value = "0",delval = "1")
    private Integer shopDel;

    public Integer getShopDel() {
        return shopDel;
    }

    public void setShopDel(Integer shopDel) {
        this.shopDel = shopDel;
    }

    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setBudId(Long budId) 
    {
        this.budId = budId;
    }

    public Long getBudId() 
    {
        return budId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("shopName", getShopName())
            .append("budId", getBudId())
            .toString();
    }

    public String getSearchValue() {
        return searchValue;
    }

    public void setSearchValue(String searchValue) {
        this.searchValue = searchValue;
    }
}
